package com.hanxy.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanxy.admin.entity.SysDepartment;
import com.hanxy.admin.model.req.SysDepartmentReq;
import com.hanxy.admin.model.req.SysUserPageReq;
import com.hanxy.admin.model.resp.SysDepartmentResp;
import com.hanxy.admin.model.resp.SysUserListResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface SysDepartmentMapper extends BaseMapper<SysDepartment> {

    IPage<SysDepartmentResp> getPageList(@Param("page")Page<SysDepartmentResp> page, @Param("param") SysDepartmentReq req);
}
